package com.ktgj.train.domain;

import com.ktgj.common.core.annotation.Excel;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TrainOrderCRM implements Serializable {
    public TrainOrderCRM() {
        this.trainOrderItem = new ArrayList<>();
    }

    /** 会员id */
    @Excel(name = "会员id")
    private Long jsjid;
    /** 订单id */
    private String orderid;
    /** 订单id */
    private String ordernumber;
    /** 车次号 */
    @Excel(name = "车次号")
    private String trainnumber;
    /** 出发车站 */
    @Excel(name = "出发车站")
    private String departurestationname;
    /** 到达车站 */
    @Excel(name = "到达车站")
    private String arrivalstationname;
    /** 乘车日期 */
    @Excel(name = "乘车日期")
    private String traveldate;
    /** 出发时间 */
    @Excel(name = "出发时间")
    private String departuretime;
    /** Order订单状态:
     未支付 = 10,
     支付中 = 20,
     支付成功 = 30,
     出票成功 = 40,
     出票失败 = 50,
     取消订单 = 60 */
    @Excel(name = "Order订单状态: 未支付 = 10, 支付中 = 20, 支付成功 = 30, 出票成功 = 40, 出票失败 = 50, 取消订单 = 60")
    private String status;
    /** 订单来源 */
    @Excel(name = "订单来源")
    private String sourceappid;
    /** 座位号 */
    @Excel(name = "座位号")
    private String chooesseats;
    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal sumamount;
    /** 支付价 */
    @Excel(name = "支付价")
    private BigDecimal payAmount;
    /** [19E订单号] */
    @Excel(name = "[19E订单号]")
    private String orderpartnernumber;
    /**
     * 取票号
     */
    private String order12306number;

    /**
     * 订单详情
     */
    private List<TrainOrderItemCRM> trainOrderItem;

    /** 创建时间 */
    private Date createTime;

    /*----------------------------------------------------------------------*/

    /** 预定时间 */
    private String time;


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Long getJsjid() {
        return jsjid;
    }

    public void setJsjid(Long jsjid) {
        this.jsjid = jsjid;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getTrainnumber() {
        return trainnumber;
    }

    public void setTrainnumber(String trainnumber) {
        this.trainnumber = trainnumber;
    }

    public String getDeparturestationname() {
        return departurestationname;
    }

    public void setDeparturestationname(String departurestationname) {
        this.departurestationname = departurestationname;
    }

    public String getArrivalstationname() {
        return arrivalstationname;
    }

    public void setArrivalstationname(String arrivalstationname) {
        this.arrivalstationname = arrivalstationname;
    }

    public String getTraveldate() {
        return traveldate;
    }

    public void setTraveldate(String traveldate) {
        this.traveldate = traveldate;
    }

    public String getDeparturetime() {
        return departuretime;
    }

    public void setDeparturetime(String departuretime) {
        this.departuretime = departuretime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSourceappid() {
        return sourceappid;
    }

    public void setSourceappid(String sourceappid) {
        this.sourceappid = sourceappid;
    }

    public String getChooesseats() {
        return chooesseats;
    }

    public void setChooesseats(String chooesseats) {
        this.chooesseats = chooesseats;
    }

    public BigDecimal getSumamount() {
        return sumamount;
    }

    public void setSumamount(BigDecimal sumamount) {
        this.sumamount = sumamount;
    }

    public String getOrderpartnernumber() {
        return orderpartnernumber;
    }

    public void setOrderpartnernumber(String orderpartnernumber) {
        this.orderpartnernumber = orderpartnernumber;
    }

    public List<TrainOrderItemCRM> getTrainOrderItem() {
        return trainOrderItem;
    }

    public void setTrainOrderItem(List<TrainOrderItemCRM> trainOrderItem) {
        this.trainOrderItem = trainOrderItem;
    }

    public String getOrder12306number() {
        return order12306number;
    }

    public void setOrder12306number(String order12306number) {
        this.order12306number = order12306number;
    }

    public String getOrdernumber() {
        return ordernumber;
    }

    public void setOrdernumber(String ordernumber) {
        this.ordernumber = ordernumber;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }
}
